package com.talking;

import android.app.Application;
import android.content.SharedPreferences;
import android.os.StrictMode;

import com.talking.bean.GroupBean;
import com.talking.bean.UserBean;

public class App extends Application {
    public static SharedPreferences sp;
    public static String query="";
    public static UserBean userBean;
    public static String chatingWith="";
    public static String chatingRemark="";
    public static String momentAccount="";
    public static GroupBean groupBean;
    public static App instance;

    @Override
    public void onCreate() {
        super.onCreate();
        sp=getSharedPreferences("data",MODE_PRIVATE);
        StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().permitAll().build());
        instance=this;
    }
}